const { validate, Joi } = require("express-validation");
exports.login = validate({
	body:Joi.object({
		code:Joi.string().required()
	})
})